// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
// 导入ElementUI网站快速生成工具
import ElementUI from 'element-ui'
// 导入ElementUI样式
import 'element-ui/lib/theme-chalk/index.css'
// 导入全局样式表
import '../src/assets/CSS/global.css'
// 导入字体图标
import '../src/assets/fonts/iconfont.css'
// 导入axios
import axios from 'axios'
// 导入qs,处理axios传回值格式问题
import qs from 'qs';
//导入api
import api from './http'
// 导入服务器地址
import global from './utils/global'
// 导入echarts
import echarts from 'echarts'




Vue.config.productionTip = false
// 使用ElementUI
Vue.use(ElementUI)
// 配置axios
Vue.prototype.$ajax = axios;
// 配置qs
Vue.prototype.$qs = qs;
// 配置api
Vue.use(api)
// 服务器地址
Vue.prototype.global = global
// 配置echars
Vue.prototype.$echarts = echarts 



/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
